﻿using ZingBlog.Domain.Entities;
using ZingBlog.Domain.IRepository;
using ZingBlog.Dto;
using ZingBlog.IService;

namespace ZingBlog.Service
{
    public class ArticleTypeService : BaseService<ArticleTypeEntity>, IArticleTypeService
    {
        public IArticleTypeRepository repository { get; set; }
        public dynamic GetListByFilter(ArticleTypeEntity filter, PageInfo pageInfo)
        {
            return GetListByFilter(filter, pageInfo, null);
        }
        public IEnumerable<ArticleTypeEntity> GetArticleTypeList()
        {
            return repository.GetArticleTypeList();
        }
    }
}
